using System;
using System.Data;
using System.Collections.Generic;
using System.ServiceModel;
using eTMS.DAO;
namespace eTMS.Services{
	/********************************BEGIN IMenusServiceBase****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:12/09/2010 36:08:02</para>
	/// <para>Class Name: IMenusServiceBase</para>
	/// <para>Description: </para>
	///</summary>

	[ServiceContract]
	public partial  interface IMenusService{


		#region Select functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectOne</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: MenusEntity</para>
		///</summary>
		[OperationContract]
		MenusEntity SelectOne(int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAll();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDS();
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAll</para>
		/// <para>Input: </para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllFilter(string strFilter);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDS</para>
		/// <para>Input: </para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSFilter(string strFilter);
		#endregion

		#region Insert functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: Save</para>
		/// <para>Input: MenusEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Save(MenusEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SaveRet</para>
		/// <para>Input: MenusEntity</para>
		/// <para>Output: return entity if succeeded else return null</para>
		///</summary>
		[OperationContract]
		MenusEntity SaveRet(MenusEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SaveList</para>
		/// <para>Input: List of MenusEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void SaveList(List<MenusEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SaveListRet</para>
		/// <para>Input: List of MenusEntity</para>
		/// <para>Output: return list of entities if succeeded else return null list</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SaveListRet(List<MenusEntity> list);
		#endregion

		#region Update functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: Update</para>
		/// <para>Input: MenusEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Update(MenusEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateList</para>
		/// <para>Input: List of MenusEntity</para>
		/// <para>Output: </para>
		///</summary>
		[OperationContract]
		void UpdateList(List<MenusEntity> list);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateMenuName</para>
		/// <para>Input: NewMenuName,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMenuName(string NewMenuName,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateMenuTitle</para>
		/// <para>Input: NewMenuTitle,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMenuTitle(string NewMenuTitle,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateIcon</para>
		/// <para>Input: NewIcon,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateIcon(string NewIcon,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateURL</para>
		/// <para>Input: NewURL,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateURL(string NewURL,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateModule_ID</para>
		/// <para>Input: NewModule_ID,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateModule_ID(int NewModule_ID,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateMenuParent_ID</para>
		/// <para>Input: NewMenuParent_ID,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMenuParent_ID(int NewMenuParent_ID,int Menu_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: UpdateMenuIndex</para>
		/// <para>Input: NewMenuIndex,Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool UpdateMenuIndex(int NewMenuIndex,int Menu_ID);
		#endregion

		#region Delete functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: Delete</para>
		/// <para>Input: MenusEntity</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool Delete(MenusEntity o);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByID</para>
		/// <para>Input: Menu_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByID(int Menu_ID);
		#endregion

		#region Select join to MenusModules functions
		#endregion

		#region Select join to Menus functions
		#endregion

		#region Select join to Modules functions
		#endregion

		#region Select,delete by Menu_ID functions
		#endregion

		#region Select,delete by Module_ID functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByModule_ID</para>
		/// <para>Input: Module_ID</para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllByModule_ID(int Module_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByModule_ID</para>
		/// <para>Input: Module_ID</para>
		/// <para>Output: MenusDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByModule_ID(int Module_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByModule_ID</para>
		/// <para>Input: Module_ID</para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllByModule_IDFilter(string strFilter,int Module_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByModule_ID</para>
		/// <para>Input: Module_ID</para>
		/// <para>Output: MenusDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByModule_IDFilter(string strFilter,int Module_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByModule_ID</para>
		/// <para>Input: Module_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByModule_ID(int Module_ID);
		#endregion

		#region Select,delete by MenuParent_ID functions
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByMenuParent_ID</para>
		/// <para>Input: MenuParent_ID</para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllByMenuParent_ID(int MenuParent_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByMenuParent_ID</para>
		/// <para>Input: MenuParent_ID</para>
		/// <para>Output: MenusDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByMenuParent_ID(int MenuParent_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByMenuParent_ID</para>
		/// <para>Input: MenuParent_ID</para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllByMenuParent_IDFilter(string strFilter,int MenuParent_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByMenuParent_ID</para>
		/// <para>Input: MenuParent_ID</para>
		/// <para>Output: MenusDataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByMenuParent_IDFilter(string strFilter,int MenuParent_ID);
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByMenuParent_ID</para>
		/// <para>Input: MenuParent_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByMenuParent_ID(int MenuParent_ID);
		#endregion

		#region Select,Delete by Module_IDMenuParent_ID
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByModule_IDMenuParent_ID</para>
		/// <para>Input: Module_ID,MenuParent_ID</para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllByModule_IDMenuParent_ID(int Module_ID,int MenuParent_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByModule_IDMenuParent_ID</para>
		/// <para>Input: Module_ID,MenuParent_ID</para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByModule_IDMenuParent_ID(int Module_ID,int MenuParent_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllByModule_IDMenuParent_ID</para>
		/// <para>Input: Module_ID,MenuParent_ID</para>
		/// <para>Output: List of MenusEntity</para>
		///</summary>
		[OperationContract]
		List<MenusEntity> SelectAllByModule_IDMenuParent_IDFilter(string strFilter,int Module_ID,int MenuParent_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: SelectAllDSByModule_IDMenuParent_ID</para>
		/// <para>Input: Module_ID,MenuParent_ID</para>
		/// <para>Output: DataSet</para>
		///</summary>
		[OperationContract]
		DataSet SelectAllDSByModule_IDMenuParent_IDFilter(string strFilter,int Module_ID,int MenuParent_ID)
;
		///<summary>
		/// <para>Author: Auto generated by CSharp Code Generator v2.0</para>
		/// <para>Date:12/09/2010 36:08:02</para>
		/// <para>Name: DeleteByModule_IDMenuParent_ID</para>
		/// <para>Input: Module_ID,MenuParent_ID</para>
		/// <para>Output: return true if succeeded else return false</para>
		///</summary>
		[OperationContract]
		bool DeleteByModule_IDMenuParent_ID(int Module_ID,int MenuParent_ID)
;
		#endregion
	}
	/*****************************************************************************************************/
	/**********************************END MenusWebServiceBase*****************************************/
	/*****************************************************************************************************/
}

